import types from "./mutation-types";
import datas from "./mock";
const store = {
  namespaced: true,
  state: {
    classfication_datas: []
  },
  mutations: {
    [types.SET_CLASSFICATION_DATAS](state, datas) {
      state.classfication_datas = datas;
    }
  },
  actions: {
    getClassficationDatas({ commit }) {
      setTimeout(() => {
        commit(types.SET_CLASSFICATION_DATAS, datas);
      }, 800);
    }
  }
};

export default store;
